/**
    GpsNetwork lets you download files and log some system parameters from NetRs DGPS receivers.
    
    Copyright (C) 2009  Eduardo Maureira
    
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    email:emaureir@gmail.com
 */
/**
 * Estos eventos se gatillan cuando un proceso
 * originado en la clase SystemCall Finaliza.
 * La captura de estos eventos permite tomar acciones
 * a partir de la informacion contenida en este evento.
 */
package process;

import java.util.EventObject;

/**
 * @author eduardo
 *
 */
public class EventoTaskList extends EventObject {

	private short tipo;
	
	/**
	 * Cantidad de Tareas en la lista
	 */
	private int count;
	
	public final static short STARTRUN = 1;//Que un System call Comenzo
	public final static short ENDRUN = 2; // Que toda la lista finalizo
	
	
	/**
	 * 
	 * @param source
	 * @param tipo
	 * @param count Cantidad de tareas en la lista
	 */
	public EventoTaskList(Object source, short tipo,int count) {
		super(source);		
		this.tipo = tipo;
		this.count = count;
	}
	
	

	public int getCount() {
		return count;
	}



	public void setCount(int count) {
		this.count = count;
	}



	public short getTipo() {
		return tipo;
	}

	public void setTipo(short tipo) {
		this.tipo = tipo;
	}



	/**
	 * 
	 */
	private static final long serialVersionUID = 1387798004481823203L;

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
